package com.realtyManage.springboot.Service;

import org.springframework.scheduling.annotation.Async;

public interface AsyncService {
    /**
     * 执行异步任务
     * 可自行定义参数
     * 如下
     */
    @Async("asyncServiceExecutor")
    void executeAsync();  //自行异步

    void nExecuteAsync();  //同步行异步

}
